<%@ page language="java" contentType="text/html; charset=utf8"
	pageEncoding="utf8"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="header.jsp"%>
<div id="container">
	<div id="content">
		<div class="profile">
			<h2>
				<img src="resources/img/plus.jpg" alt="UserList" height="16px"
					width="25px">Профиль пользователя
			</h2>
			<c:if test="${!empty user}">
				<table border=1 width="300px">
					<tr>
						<td><strong>Фамилия</strong>
						</td>
						<td><c:out value="${user.lastname}" />
						</td>
					<tr>
						<td><strong>Имя</strong>
						</td>
						<td><c:out value="${user.firstname}" />
						</td>
					<tr>
						<td><strong>Отчество</strong>
						</td>
						<td><c:out value="${user.patronymic}" />
						</td>
					<tr>
						<td><strong>Группа</strong>
						</td>
						<td><c:out value="${user.groupId}" />
						</td>
					<tr>
						<td><strong>Рейтинг</strong>
						</td>
						<td><c:out value="${user.rating}" />
						</td>
					<tr>
						<td></td>
						<td><a href="vote/${user.id}">Голосовать</a>
						</td>
				</table>
			</c:if>
		</div>
	</div>
	<!-- #content-->
</div>
<!-- #container-->
<div class="sidebar" id="sideLeft">
	<c:import url="menu.jsp" />
</div>
<!-- .sidebar#sideLeft -->
<%@include file="footer.jsp"%>